package cn.edu.scau.cmi.dengzejun.chapter11;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class ReaderListen implements ActionListener{
	public void actionPerformed(ActionEvent e) {
		String str = e.getActionCommand();
		System.out.println("the length of "+str+" is "+str.length());
		return;
	}
}
